<div id="secondary">

<div id="sidebar-1" class="sidebar">

	<!--<div id="rss-links" class="rss">
		<p><a href="<?php bloginfo('rss2_url'); ?>" title="Subscribe to this Feed via RSS">RSS</a> <a  title="title="Subscribe to comment Feed via RSS" href="<?php bloginfo('comments_rss2_url'); ?>">Comments</a></p>
	</div>-->
	
	<ul class="xoxo">

	<div id="searchwrapper"><form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
	<input type="text" class="searchbox" value="<?php the_search_query(); ?>" name="s" id="s" />
	<input type="submit" class="searchbox_submit" value="" />
	</form>
	</div>
<?php if ( isset( $_SERVER['HTTP_REFERER'] ) || is_human() || ! is_single() ) : ?>
	<li id="adsense" class="widget">
		<ul><li>
	<script type="text/javascript"><!--
	google_ad_client = "<?php google_pub_id(); ?>";
	google_ad_width = 160;
	google_ad_height = 600;
	google_ad_format = "160x600_as";
	google_ad_type = "text_image";
	google_color_border = "FFFFFF";
	google_color_bg = "FFFFFF";
	google_color_link = "006699";
	google_color_url = "006699";
	google_color_text = "808080";;
	//--></script>
	<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
	</script>
		</li></ul>
	</li>
<?php endif; ?>

	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?><!--sidebar-1 widgets start-->

	<li id="recent-posts" class="widget">
			<h2><?php _e('Recent Posts'); ?></h2>
			<ul>
				<?php wp_get_archives('type=postbypost&limit=10'); ?>
			</ul>
	</li>

	<li id="archives" class="widget">
			<h2><?php _e('Archives'); ?></h2>
			<ul>
				<?php wp_get_archives('type=monthly'); ?>
			</ul>
	</li>


	<?php endif; ?><!--sidebar-1 widgets end-->

<li id="ads" class="widget">
		<ul><li>
<a href="http://donate.wvus.org/OA_HTML/xxwvibeCZzpEntry.jsp?go=sponsor&amp;site=WVDONATIONS&amp;respid=22372&amp;language=US"><img src="http://sites.google.com/site/jewellerys/home/wvus.gif" /></a>
</li></ul></li>
	</ul>
</div>


<!--#sidebar-1-->

<div id="sidebar-2" class="sidebar">
	<?php if ( get_option('twit') ) : ?>
	<div class="twitter">
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 5,
  interval: 6000,
  width: 'auto',
  height: 300,
  theme: {
    shell: {
      background: '#abe6f5',
      color: '#000000'
    },
    tweets: {
      background: '#ffffff',
      color: '#6e6e6e',
      links: '#33a6cc'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'
  }
}).render().setUser('<?php echo get_option('twit'); ?>').start();
</script></div>
	<?php endif; ?>

	<ul class="xoxo">
	<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?><!--sidebar-2 widgets start-->

		<?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>

		<?php wp_list_bookmarks('class=widget'); ?>

		<li id="meta" class="widget">
			<h2><?php _e('Meta') ?></h2>
			<ul>
			<?php wp_register(); ?>
			<li><?php wp_loginout(); ?></li>
			<?php wp_meta(); ?>
			</ul>
		</li>
	<?php endif; ?><!--sidebar-2 widgets end-->
<?php if( isset( $_SERVER['HTTP_REFERER'] ) || is_home() && is_human() && !is_ads_free() ) : ?>
	<li id="adsense" class="widget">
		<ul><li>
	<script type="text/javascript"><!--
	google_ad_client = "<?php google_pub_id(); ?>";
	google_ad_width = 160;
	google_ad_height = 600;
	google_ad_format = "160x600_as";
	google_ad_type = "text_image";
	google_color_border = "FFFFFF";
	google_color_bg = "FFFFFF";
	google_color_link = "006699";
	google_color_url = "006699";
	google_color_text = "808080";;
	//--></script>
	<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
	</script>
		</li></ul>
	</li>
<?php endif; ?>
	</ul>
</div><!--#sidebar-2-->
</div><!--#secondary-->